import { createSSRApp } from 'vue'
import App from './App.vue'
import * as Pinia from "pinia"
import { createUnistorage } from "pinia-plugin-unistorage"
import 'uno.css'
import 'vue3-hash-calendar/es/index.css'
import '@/static/css/main.scss'

export function createApp() {
  const app = createSSRApp(App)

  const store = Pinia.createPinia()
  store.use(createUnistorage())
  app.use(store)

  return { app, Pinia }
}
